package com.taxi.driver.socket.message;

import com.taxi.driver.socket.message.base.Message;
import com.taxi.driver.socket.message.base.MessageType;

/**
 * 登录响应报文
 *
 * @author Zoro
 * @date 2016/11/22
 */
public class LoginResponseMessage extends Message {

    private Boolean success;
    private String msg;

    public LoginResponseMessage() {
    }

    public LoginResponseMessage(Boolean success, String msg) {
        super();
        super.setType(MessageType.LOGIN_RESPONSE);
        this.success = success;
        this.msg = msg;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}